package com.success.application.ground.holder;


import android.app.Dialog;
import android.content.Context;
import android.graphics.drawable.BitmapDrawable;
import android.support.design.widget.CoordinatorLayout;
import android.text.TextUtils;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.EditText;
import android.widget.ImageButton;
import android.widget.ImageView;
import android.widget.PopupWindow;
import android.widget.TextView;

import com.bumptech.glide.Glide;
import com.loopj.android.http.TextHttpResponseHandler;
import com.success.application.api.YuanbaoApi;
import com.success.application.base.BaseHolder;
import com.success.application.common.param.Params;
import com.success.application.ground.bean.Comment;
import com.success.application.ground.bean.Friend;
import com.success.application.ground.bean.Thumb;
import com.success.application.myapplication.R;
import com.success.application.user.AccountHelper;
import com.success.application.util.CommentBar;
import com.success.application.util.DialogHelper;
import com.success.application.widget.SimplexToast;

import java.util.List;

import butterknife.Bind;
import butterknife.OnClick;
import cz.msebera.android.httpclient.Header;

import static com.success.application.myapplication.R.id.imageButton;

/**
 * Created by ChrisWong on 2017/1/17.
 */

public class CommentHolder extends BaseHolder<Friend> {
    private Friend mcomment;
    @Bind(R.id.iv_comment_face)
    public ImageView iv_comment_face;
    @Bind(R.id.tv_username_comment)
    public TextView tv_username_comment;
    @Bind(R.id.tv_commment)
    public TextView tv_commment;
    public CommentHolder(View itemView) {
        super(itemView);
    }



    @Override
    public void bindItem(Friend friend) {
        mcomment = friend;
    }

    @Override
    public boolean onLongClick(View v) {
//        Toast.makeText(v.getContext(),
//                mConsult.getNc()+ "长按事件触发！", Toast.LENGTH_SHORT)
//                .show();
        return true;
    }

}
